@echo off

if "%JAVA_HOME%" == "" echo "JAVA_HOME not set. eg.[SET JAVA_HOME=d:\jdk]"

set JAVA_OPTS=

set "APP_HOME=%~dp0\\.."

cd %APP_HOME%

set APP_CP=.;%APP_HOME%\conf;%APP_HOME%\lib\*

%JAVA_HOME%\bin\java %JAVA_OPTS% -cp %APP_CP% {{mainClass}} %*




